package com.cscj.android.repository.network.api

data class ApiResponse<out T>(
    val code: Int, val msg: String, val data: T
) {

    fun isSuccessful() = code == 0 || code == 200
}